<!doctype html>
<html>
{include file="head.html"}

<body>
<div class="page">
<div class="header">
    <a href="{$appkoudai}?m=index"  class="left-btn"><span class="iconfont icon-back"></span></a>
    <div class="title">账号修改</div>
    
  </div>
<div class="main-body ">
 
    	<form method="post" id="form" action="{$appkoudai}?m=koudai_admin&a=save">
        <div class="input-row">
        	<label>账户</label><input type="text" name="adminname"  value="{$data.adminname}">
        </div>
        
        <div class="input-row">
        	<label>手机</label><input type="text" name="telephone"   value="{$data.telephone}">
        </div>
        <div class="input-row">
        	<label>密码</label>
            <input type="password" name="password" value="">
        </div>
        
        <div class="input-row">
        	<label>重复密码</label>
            <input type="password" name="password2" value="">
        </div>
        <div class="input-row">
        <button type="button" id="submit" class="btn btn-row btn-success">保存</button>
        </div>
        
        	 
        </form>
    
</div>
</div>

{include file="footer.html"}
<script>
$("#submit").on("click",function(data){
		$.post("{$appkoudai}?m=koudai_admin&a=save&ajax=1",$("#form").serialize(),function(data){
			if(data.error){
				skyToast(data.message);
			}else{
				skyToast('保存成功');
			}
		},"json")
	});
</script>
</div>
</body>
</html>
